FROM alpine
MAINTAINER haibin.l@linkingcloud.cn
ARG TIMEZONE="Asia/Shanghai"

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.cloud.tencent.com/g' /etc/apk/repositories \
  && apk add --no-cache tzdata goaccess ncurses libmaxminddb openssl \
  && ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime